
<!DOCTYPE html>
<html>
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /><title>
	炮弹走私
</title><script language="javascript" type="text/javascript"> 
            var applicationPath = "";
        </script>
<meta http-equiv="content-language" content="zh-CN" />
<link rel="icon" type="image/x-icon" href="http://www.wxmaiyatang.cn/favicon.ico" media="screen" />
<link rel="shortcut icon" type="image/x-icon" href="http://www.wxmaiyatang.cn/favicon.ico" media="screen" />
<meta name="author" content="Hishop development team" />
<meta name="GENERATOR" content="微分销" />
<meta name="renderer" content="webkit" /><link rel="stylesheet" href="http://apps.bdimg.com/libs/bootstrap/3.3.4/css/bootstrap.min.css" />
<script type="text/javascript" src="../admin/js/browserdetect.js"></script>
<script src="http://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js" type="text/javascript"></script>
<script src="http://apps.bdimg.com/libs/bootstrap/3.3.4/js/bootstrap.min.js" type="text/javascript"></script>
<link rel="stylesheet" type="text/css" href="../admin/css/bootstrap-datetimepicker.min.css" />
<script type="text/javascript" src="../admin/js/bootstrap-datetimepicker.js"></script>
<script type="text/javascript" src="../admin/js/bootstrap-datetimepicker.zh-CN.js"></script>
<script type="text/javascript" src="../admin/js/jquery.formvalidation.js"></script>
<link rel="stylesheet" href="../admin/css/common.css" />
<script src="../admin/js/Framenew.js?3.3.1bk1"></script>
<meta name="keywords" /><meta name="description" />
    <!--[if lt IE 9]>
      <script src="//cdn.bootcss.com/html5shiv/3.7.2/html5shiv.min.js"></script>
      <script src="//cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    
    <script src="/admin/js/jquery.formvalidation.js" type="text/javascript"></script>
    <style type="text/css">
        .lineCss{background-color:green;height:2px;width:auto;}
        .msgDiv{background-color:#D3FBFE; border:1px solid; border-color:#0c9e0e;  margin-top:10px;margin-bottom:10px;}
    </style>
    <script type="text/javascript">
        function setEnable(obj) {
            var type = "-3";
            var ob = $("#" + obj.id);
            var cls = ob.attr("class");
            var enable = "false";
            if (cls == "switch-btn") {

                ob.empty();
                ob.append("已关闭 <i></i>")
                ob.removeClass();
                ob.addClass("switch-btn off");
                enable = "false";

            }
            else {
                ob.empty();
                ob.append("已开启 <i></i>")
                ob.removeClass();
                ob.addClass("switch-btn");
                enable = "true";
            }
            $.ajax({
                type: "post",
                url: "PayConfigHandler.ashx",
                data: { type: type, enable: enable },
                dataType: "text",
                success: function (data) {
                    if (enable == 'true') {
                        msg('盛付通支付已开启！');
                        $('#maindiv').css('display', '');
                    }
                    else {
                        msg('盛付通支付已关闭！');
                        $('#maindiv').css('display', 'none');
                    }
                }
            });
        }

        function msg(msg) {
            HiTipsShow(msg, 'success');
        }

        function beforeSaveData(obj) {
            var mid = $('#ctl00_ContentPlaceHolder1_txt_mid').val();
            var key = $('#ctl00_ContentPlaceHolder1_txt_key').val();
            if (mid == "") {
                errAlert("请输入商户号!");
                $('#ctl00_ContentPlaceHolder1_txt_mid').focus();
                return false;
            }
            if (key == "") {
                errAlert("请输入商家密钥（Key）!");
                $('#ctl00_ContentPlaceHolder1_txt_key').focus();
                return false;
            }          
            
            return true;
        }

        function errAlert(msg) {
            HiTipsShow(msg, 'error');
        }

        $(function () {
            $('#aspnetForm').formvalidation({

                'ctl00$ContentPlaceHolder1$txt_mid': {
                    validators: {
                        notEmpty: {
                            message: '请输入商户号'
                        },
                        stringLength: {
                            min: 1,
                            max: 100,
                            message: ''
                        }

                    }
                },

                'ctl00$ContentPlaceHolder1$txt_key': {
                    validators: {
                        notEmpty: {
                            message: '请输入商家密钥（Key）'
                        }
                        ,
                        stringLength: {
                            min: 1,
                            max: 100,
                            message: ''
                        }

                    }
                }
            });

        });

    </script>
</head>
<body class="theme theme--blue">

    <header class="ui-header navbar-fixed-top">
        <div class="ui-header-inner clearfix">
            <h1 class="ui-header-logo">
                <a href="/admin/" title="管理后台">
                    <span class="version"><i>3.4</i></span>
                </a>
            </h1>
            <nav class="ui-header-nav">
                <ul class="clearfix">
<li class="divide">|</li>
<li mid="m01"><a href="../Default.html" title="店铺">店铺</a></li>
<li mid="m02"><a href="../productonsales.html" title="商品">商品</a></li>
<li mid="m03"><a href="../manageorder.html" title="订单">订单</a></li>
<li class="divide">|</li>
<li mid="m04"><a href="../MemberGaiKuang.html" title="会员">会员</a></li>
<li mid="m05"><a href="../DistributorSummary.html" title="分销">分销</a></li>
<li class="divide">|</li>
<li mid="m06"><a href="#" title="微信">微信</a></li>
<li mid="m07"><a href="#" title="微博">微博</a></li>
<li mid="m11"><a href="#" title="服务窗">服务窗</a></li>
<li class="divide">|</li>
<li mid="m08"><a href="#" title="营销">营销</a></li>
<li class="divide">|</li>
<li class=" active" mid="m09"><a href="../Alipay.html" title="设置">设置</a></li>
<li mid="m10"><a href="../salereport.html" title="分析统计">分析统计</a></li>
</ul>

            </nav>
            <div class="ui-header-user ">
                <div class="customer-wrap">
                </div>
                <div class="dropdown hover dropdown-right">
                    <a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown">
                        <span class="txt">
                            <span class="ellipsis team_name">炮弹走私</span><span class="dash"> - </span><span>admin</span>
                        </span>
                        <i class="caret"></i>
                    </a>
                    <ul class="dropdown-menu">
                        <li><a href="/admin/Settings/EditManager.aspx?UserID=1"><span class="glyphicon glyphicon-user"></span>个人信息</a></li>
                        <li><a href="/admin/Settings/EditManagerPassword.aspx?UserID=1"><span class="glyphicon glyphicon-list-alt"></span>修改密码</a></li>
                        <li class="divide"></li>
                        <li><a href="/Admin/LoginExit.aspx"><span class="glyphicon glyphicon-indent-right"></span>退出</a></li>
                    </ul>
                </div>
            </div>
        </div>
    </header>
    <div class="container">
        <div class="app">
            <div class="app-inner clearfix">

    <form name="aspnetForm" method="post" action="ShengPay.aspx" id="aspnetForm" class="form-horizontal">
<div>
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/wEPDwUKMTI1MDM3NDAyMA9kFgJmD2QWCAIBDxYCHgRUZXh0BYQKPHVsIGNsYXNzPSJjbGVhcm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3Mvcm9sZXMuYXNweCIgdGl0bGU9IumDqOmXqOeuoeeQhiI+6YOo6Zeo566h55CGPC9hPjwvbGk+DQo8bGk+PGEgaHJlZj0iL0FkbWluL1NldHRpbmdzL21hbmFnZXJzLmFzcHgiIHRpdGxlPSLkurrlkZjnrqHnkIYiPuS6uuWRmOeuoeeQhjwvYT48L2xpPg0KPGxpPjxhIGhyZWY9Ii9BZG1pbi9TZXR0aW5ncy9tYW5hZ2Vsb2dzLmFzcHgiIHRpdGxlPSLmk43kvZzml6Xlv5ciPuaTjeS9nOaXpeW/lzwvYT48L2xpPg0KPC91bD4NCmRkv+hR2UsB55vMsypZEIvL3m/1+6M=" />
</div>

<div>

	<input type="hidden" name="__VIEWSTATEGENERATOR" id="__VIEWSTATEGENERATOR" value="15A79BC8" />
</div>
        <div class="page-header">
            <h2>设置收款账号</h2>
        </div>
        <div>
            <ul class="nav nav-tabs" role="tablist">
                <li role="presentation"><a href="#">微信支付</a></li>
                <li role="presentation" ><a href="../Alipay.html">支付宝</a></li>
               
                <li role="presentation" class="active"><a href="ShengPay.html">盛付通</a></li>
                <li role="presentation" ><a href="OfflinePay.html">线下支付</a></li>
                <li role="presentation"><a href="COD.html">货到付款</a></li>
            </ul>
            <div class="set-switch">
                <strong>盛付通收款设置</strong>
                <p>还没开通盛付通支付？<a target="_blank" href="https://zhuanye.shengpay.com/SP/Business/quicklygather.aspx">免费申请开通盛付通支付接口</a></p>
                <div id="offlineEnable" class="switch-btn" onclick="setEnable(this)">
                    已开启
                    <i></i>
                </div>

            </div>
            <div id="maindiv" style="">
            <div class="msgDiv" style="display:none;">
                <div style="font-weight: bold; margin-left: 5px;">提示</div>
                <div style="margin-left: 5px;">商家通过线上提交申请后，等待商家信息审核通过，完成签约即能为商家开通权限。请复制盛付通提供的商户号和商家密钥，填写保存后即成功完成收款设置。</div>

            </div>
            
                
                <div class="form-group">
                    <label for="inputEmail2" class="col-xs-2 control-label">商户号：</label>
                    <div class="col-xs-4">
                        <input name="ctl00$ContentPlaceHolder1$txt_mid" type="text" id="ctl00_ContentPlaceHolder1_txt_mid" class="form-control" />            
                    </div>
                </div>
                <div class="form-group">
                    <label for="inputEmail3" class="col-xs-2 control-label">商家密钥（Key）：</label>
                    <div class="col-xs-4">
                        <input name="ctl00$ContentPlaceHolder1$txt_key" type="text" id="ctl00_ContentPlaceHolder1_txt_key" class="form-control" />
                    </div>
                </div>               
                <div class="form-group">
                    <div class="col-xs-offset-2 col-xs-10 marginl">
                        <input type="submit" name="ctl00$ContentPlaceHolder1$ctl00" value="保存" onclick="return beforeSaveData(this);" class="btn btn-success inputw100" />
                    </div>
                </div>
            </div>
            </div>


        
    </form>


            </div>
        </div>
        <aside class="ui-sidebar sidebar" style="min-height: 533px;">
            <nav class="well" id="menu_left">
                <em class="glyphicon ico-zhifu"></em>
<span>设置收款账号</span>
<ul iid="szi01">
<li><a href="../Alipay.html" title="支付宝">支付宝</a></li>
<li class=" active"><a href="ShengPay.html" title="盛付通">盛付通</a></li>
<li><a href="OfflinePay.html" title="线下支付">线下支付</a></li>
<li><a href="COD.html" title="货到付款">货到付款</a></li>
</ul>
<em class="glyphicon ico-wuliu"></em>
<span>物流配送</span>
<ul iid="szi02">
<li><a href="manageshippingtemplates.html" title="运费模板">运费模板</a></li>
<li><a href="ExpressComputerpes.html" title="物流公司">物流公司</a></li>
<li><a href="shippers.html" title="物流地址管理">物流地址管理</a></li>
<li><a href="ExpressSet.html" title="物流跟踪配置">物流跟踪配置</a></li>
</ul>
<em class="glyphicon ico-anquan"></em>
<span>安全中心</span>
<ul iid="szi03">
<li><a href="roles.html" title="部门管理">部门管理</a></li>
<li><a href="managers.html" title="人员管理">人员管理</a></li>
<li><a href="managelogs.html" title="操作日志">操作日志</a></li>
</ul>

            </nav>
        </aside>
    </div>
    <div class="mt20"></div>
</body>
</html>

